package com.copa.ums.modules.ums.mapper;

import com.copa.ums.modules.ums.model.UmsResource;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author copa
 * @since 2022-10-31
 */
public interface UmsResourceMapper extends BaseMapper<UmsResource> {

    List<UmsResource> getResourceList(@Param("userId") Long userId);

    List<UmsResource> getResourceListByRoleId(@Param("roleId") Long roleId);
}
